package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author yc123
 * @since 2018-05-28
 */
@TableName("clm_teacher")
public class Teacher extends Model<Teacher> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 教师id
     */
    @TableField("teacher_id")
    private String teacherId;
    /**
     * 教师账号
     */
    @TableField("account_id")
    private String accountId;
    /**
     * 教师名称
     */
    @TableField("teacher_name")
    private String teacherName;
    /**
     * 省code
     */
    @TableField("province_code")
    private String provinceCode;
    /**
     * 市code
     */
    @TableField("city_code")
    private String cityCode;
    /**
     * 区县code
     */
    @TableField("area_code")
    private String areaCode;
    /**
     * 就职省code
     */
    @TableField("org_province_code")
    private String orgProvinceCode;
    /**
     * 就职省名称
     */
    @TableField("org_province_name")
    private String orgProvinceName;
    /**
     * 就职市code
     */
    @TableField("org_city_code")
    private String orgCityCode;
    /**
     * 就职市名称
     */
    @TableField("org_city_name")
    private String orgCityName;
    /**
     * 就职区县code
     */
    @TableField("org_area_code")
    private String orgAreaCode;
    /**
     * 就职区县名称
     */
    @TableField("org_area_name")
    private String orgAreaName;
    /**
     * 学校id
     */
    @TableField("school_id")
    private String schoolId;
    /**
     * 学校名称
     */
    @TableField("school_name")
    private String schoolName;
    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("create_time")
    private Date createTime;
    /**
     * 状态 1-开启 0-禁用
     */
    private String status;
    /**
     * 站点id
     */
    @TableField("site_id")
    private String siteId;
    /**
     * 创建人id
     */
    @TableField("create_user_id")
    private String createUserId;
    /**
     * 修改人id
     */
    @TableField("update_user_id")
    private String updateUserId;
    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("update_time")
    private Date updateTime;
    /**
     * 是否删除 0-否 1-是
     */
    @TableField("be_delete")
    private String beDelete;
    /**
     * 排序
     */
    private Integer num;
    /**
     * 名师图片
     */
    @TableField("image_url")
    private String imageUrl;
    
    /**
     * 名师图片
     */
    @TableField("phone_url")
    private String phoneUrl;
    
    /**
     * 名师简介
     */
    @TableField("teacher_desc")
    private String teacherDesc;
    /**
     * 置顶 0-否 1-是
     */
    @TableField("be_top")
    private String beTop;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }
    
    
    public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getOrgProvinceCode() {
        return orgProvinceCode;
    }

    public void setOrgProvinceCode(String orgProvinceCode) {
        this.orgProvinceCode = orgProvinceCode;
    }

    public String getOrgProvinceName() {
        return orgProvinceName;
    }

    public void setOrgProvinceName(String orgProvinceName) {
        this.orgProvinceName = orgProvinceName;
    }

    public String getOrgCityCode() {
        return orgCityCode;
    }

    public void setOrgCityCode(String orgCityCode) {
        this.orgCityCode = orgCityCode;
    }

    public String getOrgCityName() {
        return orgCityName;
    }

    public void setOrgCityName(String orgCityName) {
        this.orgCityName = orgCityName;
    }

    public String getOrgAreaCode() {
        return orgAreaCode;
    }

    public void setOrgAreaCode(String orgAreaCode) {
        this.orgAreaCode = orgAreaCode;
    }

    public String getOrgAreaName() {
        return orgAreaName;
    }

    public void setOrgAreaName(String orgAreaName) {
        this.orgAreaName = orgAreaName;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getBeDelete() {
        return beDelete;
    }

    public void setBeDelete(String beDelete) {
        this.beDelete = beDelete;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getTeacherDesc() {
        return teacherDesc;
    }

    public void setTeacherDesc(String teacherDesc) {
        this.teacherDesc = teacherDesc;
    }

    public String getBeTop() {
        return beTop;
    }

    public void setBeTop(String beTop) {
        this.beTop = beTop;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    
    public String getPhoneUrl() {
		return phoneUrl;
	}

	public void setPhoneUrl(String phoneUrl) {
		this.phoneUrl = phoneUrl;
	}

	@Override
    public String toString() {
        return "Teacher{" +
        "id=" + id +
        ", teacherId=" + teacherId +
        ", teacherName=" + teacherName +
        ", provinceCode=" + provinceCode +
        ", cityCode=" + cityCode +
        ", areaCode=" + areaCode +
        ", orgProvinceCode=" + orgProvinceCode +
        ", orgProvinceName=" + orgProvinceName +
        ", orgCityCode=" + orgCityCode +
        ", orgCityName=" + orgCityName +
        ", orgAreaCode=" + orgAreaCode +
        ", orgAreaName=" + orgAreaName +
        ", schoolId=" + schoolId +
        ", schoolName=" + schoolName +
        ", createTime=" + createTime +
        ", status=" + status +
        ", siteId=" + siteId +
        ", createUserId=" + createUserId +
        ", updateUserId=" + updateUserId +
        ", updateTime=" + updateTime +
        ", beDelete=" + beDelete +
        ", num=" + num +
        ", imageUrl=" + imageUrl +
        ", phoneUrl=" + phoneUrl +
        ", teacherDesc=" + teacherDesc +
        ", beTop=" + beTop +
        "}";
    }
}
